{{#index}}
<div class="main-content">
    <div class="div-title">用户列表</div>
    <div class="search-div">
        <div class="search-content">
            <div class="search">
                <label class="">账号</label>
                <input type="text" class="search-input search-param" name="account"/>
            </div>

            <div class="search">
                <label class="">昵称</label>
                <input type="text" class="search-input search-param" name="name"/>
            </div>

        </div>

        <div class="action-div">
            <button class="btn btn-sm btn-primary e-go sysUser_add" href="module/sysUser/add">新增</button>
            <button class="btn btn-sm btn-primary e-table-search">搜索</button>
        </div>
    </div>

    <div class="table-action-div">
        <button class="btn btn-sm btn-primary e-table-batch-delete sysUser_batch_delete" url="sysUser/batchDelete" table-class-name="bootstrapTable">批量删除</button>
        <button class="btn btn-sm btn-primary e-table-export sysUser_export" url="sysUser/export" search-param-class-name="search-param">导出</button>
    </div>
    <table class="bootstrapTable">

    </table>
</div>
<div id="testUser">

</div>
{{/index}}


{{#add}}
<div class="main-content">
    <div class="div-title">添加用户</div>
    <form class="data-form">
        <div class="form-horizontal m-t">
            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-3 control-label">账号</label>
                    <div class="col-sm-7">
                        <input type="text" class="form-control data-param" name="account" required="required">
                    </div>
                </div>
            </div>

            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-3 control-label">昵称</label>
                    <div class="col-sm-7">
                        <input name="name" type="text" class="form-control data-param" required="required">
                    </div>
                </div>
            </div>

        </div>

        <div class="form-horizontal m-t">
            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-3 control-label">密码</label>
                    <div class="col-sm-7">
                        <input name="password" type="password" class="form-control data-param" required="required">
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-12 center-action-div">
                <button class="btn btn-primary e-submit" type="button">提交</button>
                <button class="btn btn-primary e-go-index" type="button">返回</button>
            </div>
        </div>
    </form>
</div>
{{/add}}


{{#info}}
<div class="main-content">
    <div class="div-title">用户详情</div>
    <div class="form-horizontal m-t">
        <div class="col-sm-6">
            <div class="form-group">
                <label class="col-sm-3 control-label">账号</label>
                <div class="col-sm-7">
                    <input type="text" class="form-control" readonly="readonly" value="${data.sysUser.account}">
                </div>
            </div>
        </div>

        <div class="col-sm-6">
            <div class="form-group">
                <label class="col-sm-3 control-label">昵称</label>
                <div class="col-sm-7">
                    <input type="text" class="form-control" readonly="readonly" value="${data.sysUser.name}">
                </div>
            </div>
        </div>

    </div>

    <div class="form-horizontal m-t">
        <div class="col-sm-6">
            <div class="form-group">
                <label class="col-sm-3 control-label">状态</label>
                <div class="col-sm-7">
                    <input type="text" class="form-control" readonly="readonly" value="${data.sysUser.statusTitle}">
                </div>
            </div>
        </div>

        <div class="col-sm-6">
            <div class="form-group">
                <label class="col-sm-3 control-label">账号类型</label>
                <div class="col-sm-7">
                    <input type="text" class="form-control" readonly="readonly" value="${data.sysUser.typeTitle}">
                </div>
            </div>
        </div>
    </div>

    <div class="form-horizontal m-t">
        <div class="col-sm-6">
            <div class="form-group">
                <label class="col-sm-3 control-label">创建时间</label>
                <div class="col-sm-7">
                    <input type="text" class="form-control" readonly="readonly" value="${data.sysUser.createDate}">
                </div>
            </div>
        </div>

    </div>
    <div class="row">
        <div class="col-sm-12 center-action-div">
            <button class="btn btn-primary e-go-index" type="button">返回</button>
        </div>
    </div>
</div>
{{/info}}


{{#update}}
<div class="main-content">
    <div class="div-title">修改用户</div>
    <form class="data-form">
        <div class="form-horizontal m-t">
            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-3 control-label">账号</label>
                    <div class="col-sm-7">
                        <input type="text" name="account" class="form-control data-param"
                               value="${data.sysUser.account}" required="required">
                    </div>
                </div>
            </div>

            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-3 control-label">昵称</label>
                    <div class="col-sm-7">
                        <input type="text" name="name" class="form-control data-param" value="${data.sysUser.name}" required="required">
                    </div>
                </div>
            </div>

        </div>

        <div class="form-horizontal m-t">
            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-3 control-label">状态</label>
                    <div class="col-sm-7">
                        <select class="form-control data-param selected" name="status">
                            <option value="0">正常</option>
                            <option value="1">禁用</option>
                        </select>
                    </div>
                </div>
            </div>

            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-3 control-label">账号类型</label>
                    <div class="col-sm-7">
                        <input type="text" class="form-control" readonly="readonly" value="${data.sysUser.typeTitle}">
                    </div>
                </div>
            </div>
        </div>

        <div class="form-horizontal m-t">
            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-3 control-label">密码</label>
                    <div class="col-sm-7">
                        <input type="password" name="password" class="form-control data-param">
                    </div>
                </div>
            </div>
        </div>

        <div class="row">
            <div class="col-sm-12 center-action-div">
                <button class="btn btn-primary e-update" type="button">修改</button>
                <button class="btn btn-primary e-go-index" type="button">返回</button>
            </div>
        </div>
    </form>
</div>
{{/update}}


{{#setSysRole}}
<div class="main-content">
    <div class="div-title">设置角色</div>
    <div class="search-div">
        <div class="search-content">
            <div class="search">
                <label class="">角色名</label>
                <input type="text" class="search-input search-param" name="name"/>
            </div>
        </div>

        <div class="action-div">
            <button class="btn btn-sm btn-primary e-go-index">返回</button>
            <button class="btn btn-sm btn-primary e-search">搜索</button>
        </div>
    </div>
    <table class="bootstrapTable">

    </table>
</div>
{{/setSysRole}}




{{#modifyPassword}}
<div class="main-content">
    <div class="div-title">修改密码</div>
    <form class="data-form">
        <div class="form-horizontal m-t">
            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-3 control-label">原密码</label>
                    <div class="col-sm-7">
                        <input name="oldPassword" type="password" class="form-control data-param" required="required">
                    </div>
                </div>
            </div>

            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-3 control-label">密码</label>
                    <div class="col-sm-7">
                        <input name="password" type="password" class="form-control data-param" required="required">
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-12 center-action-div">
                <button class="btn btn-primary e-submit" type="button">提交</button>
            </div>
        </div>
    </form>
</div>
{{/modifyPassword}}